h3,
h2,
h1,
p {
    margin: 0;
}

// .table-navbar {
//   min-height: 50px;
//   display: flex;
//   .search-box {min-width: 85px;;height: 36px;text-align: center;border-radius: 4px;letter-spacing: 1px;}
//   > .search-box:not(:nth-child(1)) {margin-left: 15px;}
// }
.bg-green {
    background: #42b983 !important;
    border: 1px solid #42b983;
    color: #FFF !important;
    &:hover {
        border: 1px solid #5cc998;
        background: #5cc998 !important;
    }
}

.fw {
    font-weight: bold;
}

.fs12 {
    font-size: 12px;
}

.positiveFc {
    color: #C00;
}

.positiveFc1 {
    color: #E02020;
}

.negativeFc {
    color: #008800;
}

.negativeFc1 {
    color: #52C41A;
}

.s-warning {
    background: #ffaa00;
}

.s-success {
    background: #42b983;
}

.s-error {
    background: #ff3300;
}

// 月度表现弹出层
.showMonthOpen-open {
    width: calc(100% - #{$sideBarWidth} - 150px);
    .cellBg {
        background: #FCF8E3;
    }
    .el-table--enable-row-hover .el-table__body tr:hover>td {
        background: #FCF8E3;
    }
}

// 月度表现年份箭头兼容样式
.cell-pl-10 {
    text-align: left;
    padding-left: 24px;
}

.el-table__expand-icon {
    float: right;
}

// 展开行
.el-table__row--level-1 {
    background: #FCF8E3 !important;
}
.el-table__row--level-2 {
    background: #FCF8E3 !important;
}
// 有展开行的列表，背景为黄色底时，去掉hover时背景颜色变化   // 收益风险指标列表特用
.expand-table__hover-bg.el-table--enable-row-hover .el-table__body .el-table__row.el-table__row--level-2:hover>td {
    background: #FCF8E3; //todo
}
.riskIndicators-table {
    .el-table__row--level-1 {
        background: #f0d691 !important; //todo
    }
}
.expand-table__hover-bg.el-table--enable-row-hover .el-table__body .el-table__row.el-table__row--level-1:hover>td {
    background: #f0d691; //todo
}

// 字体省略
.tof {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fromLine {
    .label {
        min-width: 100px;
    }
    .fromLine-content {
        min-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

// 详情头部tip样式
.tit-tip {
    margin-bottom: 0px !important;
    padding: 5px;
    border-radius: 2px;
}

// 创建组合拖拽卡片
.slickIteming-card {
    .slickItem-card {
        font-size: 12px;
        margin: 0 8px;
        height: 24px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: rgb(231, 231, 231);
    }
}

// 投顾选择弹窗
.relationOpne {
    .el-dialog {
        width: 1000px;
    }
}

.borDrag {
    border: 1px solid #ddd
}

.more-date {
    .md-chunk {
        width: 48%;
    }
    .md-tit {
        height: 30px;
        font-weight: bold;
        border-bottom: 1px solid #ddd;
    }
    .md {
        margin-top: 10px;
        cursor: pointer;
    }
    .md-active {
        color: #e1322d;
    }
}

// flex
.flex {
    display: flex;
}
.flex-h-sb {
    display: flex;
    justify-content: space-between;
}
.flex-hc-sb {
    display: flex;
    align-items: center; // todo
    justify-content: space-between;
}
.flex-v-center {
    display: flex;
    align-items: center;
}
.flex-h-center {
    display: flex;
    align-items: center;
}
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.flex-vh-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.wrap {
  flex-wrap: wrap;
}

// element ui
// *********** table 内部竖向边框
.el-table--border th,
.el-table--border td {
    border-right: none;
}

// *********** table 单元格横线问题
.el-table__fixed {
    height: 100% !important; //设置高优先，以覆盖内联样式
}

.el-table {
    .el-table__body tr.current-row>td {
        background-color: #fef7e3;
    }
}

.el-table--striped .el-table__body tr.el-table__row--striped.current-row td {
    background-color: #fef7e3;
}

.el-step__line-inner {
    background-color: #409eff;
}

.pagination-container-mini {
    transform: scale(0.9);
    padding: 15px 16px !important;
}

.el-form-center .el-form-item {
    margin-bottom: 0;
}

.tableHead-select {
    user-select: none;
    background-color: rgb(220, 237, 255);
    transform: scale(0.8);
    .el-input {
        line-height: 22px;
    }
    .el-input.is-focus .el-input__inner {
        border-color: rgb(50, 99, 157)
    }
    .el-input__inner {
        height: 22px;
        color: rgb(50, 99, 157);
        border: 1px solid rgb(50, 99, 157);
        padding: 0 4px;
        background-color: rgb(220, 237, 255);
        &:hover {
            border: 1px solid rgb(50, 99, 157);
        }
    }
    .el-input__inner:focus {
        border-color: rgb(50, 99, 157)
    }
    .el-input__suffix {
        .el-select__caret {
            transition: transform 0s;
            width: 0px;
            color: rgb(50, 99, 157);
        }
        .el-select__caret.is-reverse {
            transform: rotateZ(0deg) translate(-13px, -3px);
        }
    }
}

.tableCell-select {
    margin-right: 4px;
    .el-input__suffix {
        right: -1px;
    }
    .el-input__inner {
        font-size: 12px;
        padding: 4px;
    }
}

// 自定义输入框报错样式
.border_red {
    input {
        border: 1px solid red !important;
        color: red;
    }
}

.el-button--mini {
    font-size: 11px;
    padding: 6px 10px;
}

.el-table__fixed-right {
    border-right: 1px solid #EBEEF5;
}

.el-table {
    .title-row {
        background: #dcedff !important;
    }
    .cell-row-0 {
        background: #FFF7F7 !important;
    }
    .cell-row-1 {
        background: #FFFCF5 !important;
    }
    .cell-row-2 {
        background: #FFFBFD !important;
    }
    .cell-row-3 {
        background: #FAFFFB !important;
    }
    .cell-row-4 {
        background: #FFFCFC !important;
    }
    .cell-row-5 {
        background: #F9FDFF !important;
    }
    .cell-row-6 {
        background: #FDFBFE !important;
    }
    .title-row-gray {
        background: #e4e3e3 !important;
    }
    .cell-row-low {
        background: #7bdb91 !important;
    }
    .cell-row-high {
        background: #fc7486 !important;
    }
    // 历史月度表现
    .showMonthyearBorder0 {
        border-right: 2px solid #e16757;
    }
    .showMonthyearBorder1 {
        border-right: 2px solid #78b2eb;
    }
}

.el-dialog {
    min-width: 800px;
}

// 单个样式全局调整
.contrast-card-popover {
    .cs-card {
        height: 38px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #ddd;
        .name {
            width: 160px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
    }
    .cs-card-btn {
        color: #e1322d;
        justify-content: space-between;
    }
}

// 详情头部
.head3 {
    min-width: 1140px;
    // border-bottom: 1px solid #e1e0e0;
    padding-bottom: 15px;
    font-family: PingFangSC-Medium, PingFang SC;
    .fzBig {
        font-size: 36px;
        font-weight: bold;
        margin-top: 10px;
    }
    .fromLine {
        display: flex;
        line-height: 28px;
        .label {
            min-width: 0px;
        }
        .fromLine-content {
            min-width: 0;
        }
        .label-line2 {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            .tip {
                line-height: 12px;
                padding-right: 12px;
            }
        }
    }
    .title {
        font-size: 26px;
        font-weight: 500;
        .fontdoc {
            font-size: 22px;
            color: #678EB3;
            cursor: pointer;
            margin-left: 6px;
        }
    }
    .sub-title {
        font-size: 12px;
        color: rgba(0, 0, 0, 0.5);
    }
    .head-content {
        margin-top: 10px;
        .left {
            width: 78%;
        }
        .right {
            width: 22%;
        }
    }
}

.fontcolor:hover { 
    color: #1890FF;
    .svg-icon {
        filter: drop-shadow(#1890FF 80px 0);
        transform: translateX(-80px);
    }
}
.gray { color: #979797; }

// 对比
.contrastGray {
    color: rgba($color: #666, $alpha: 0.6);
}

